package com.eco.fanliapp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.eco.fanliapp.entity.SyChannelUser;

/**
 * <p>
 * 渠道用户对照表 服务类
 * </p>
 *
 * @author jobob
 * @since 2019-08-21
 */
public interface ISyChannelUserService extends IService<SyChannelUser> {

	/**
	 * 根据用户获取渠道信息
	 * @param userId
	 * @param type 1优先从redis获取0从数据库中获取
	 * @return
	 */
	SyChannelUser findSyChannelUserById(Long userId,int type);
}
